<?php
/**
 * 双创学堂
 */
class StudyApp extends CommonApp {
    //课程学习
    public function classAct(){
        $result = My::alias2detail('config','class');
        $this->assign('result',$result);
        $this->assign('menu',self::menu('class'));
        $this->display('Common/index');
    }
    //项目学习
    public function subjectAct(){
        $result = My::alias2detail('config','subject');
        $this->assign('result',$result);
        $this->assign('menu',self::menu('subject'));
        $this->display('Common/index');
    }
}